package fs;

import java.io.RandomAccessFile;

public class TestRandomAccessFile {
	public static void main(String[] args) throws Exception{
		String fileName = "D:/split/a.txt";
		String mode="r";
		RandomAccessFile raf = new RandomAccessFile(fileName,mode);
		raf.seek(10);
		String aa = raf.readLine();
		System.out.println(aa.length());
		
		
	}
}
